{% extends "base.html" %}
{% block sideBarContent %}
<H2>Edit Liga</H2>


<form action="liga_save" method="post">

<table class="t_main t_edit">
  <tr><th>Name</th>   <td><input name="name" width="30" value="{{ entry.name }}">  </td></tr>

  <tr><th><a href="liga_list">Abbrechen</a></th>  <th><input type="submit" value="Speichern"></th></tr>
</table>

<input type="hidden" name="id" value="{{ entry.key }}">
</form>

{%if teams%}
  <b>Teams:</b> <i>{{teams}}</i>
{%else%}
  <b>Diese Liga enth&auml;lt <i>keine</i> Teams.</b>
{%endif%}


<div class="d_click d_right">
    <a href="liga_del?id={{ entry.key }}">Diese Liga Löschen</a>
</div>
<div class="d_small d_right">
     Teams bleiben erhalten, besser zuerst löschen.
</div>

</table>

{% endblock %}
